<template>
    <div class="login-rest">
    <div class="line" ></div>
    <div class="type" style="margin-left: 16px;margin-right: 16px;">{{context}}</div>
    <div class="line" ></div>
    </div> 
</template>

<script>
export default {
  name: "Footer",
  props:{
    context:{
      type:String,
      default:"已经到底了~~"
    }
  }
};
</script>

<style lang="less" scoped>
@import "../main.less";

.light {
  .line {
  background-color: @fs_light_smcontain;
  transition: all 1s;
  }
}

.dark {
  .line {
  background-color: @fs_dark_smcontain;
  transition: all 1s;
  }
}

.login-rest {
    width: 90%;
    margin-left: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
}
.line {
    font-weight: bold;
    flex: 0.5;
    height: 2px;
}



</style>